/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package BL;
import PurchaseOrder.PDB;

/**
 *
 * @author sundas
 */
public class PurchaseOrder {
    public PDB db1;
     public PurchaseOrder(){
       db1 = new PDB();
       db1.connect();

   }
     public void addSalePersonInBox(javax.swing.JComboBox jComboBox1)
     {
        db1.FillSalePersonBox(jComboBox1);
     }
     public void setCurrentDateField(javax.swing.JTextField PODate)
    {
        db1.FillCurrentDateField(PODate);
     }
     public void addInventory(javax.swing.JComboBox ourcompany)
     {
         db1.FillOurCompanyName(ourcompany);
     }

        public void addSalePersonCompanyInBox(javax.swing.JComboBox manufacturername)
        {
            db1.FillSalePersonBox(manufacturername);

        }
             public void addPDescription(javax.swing.JTextField PDescription)
             {
                    db1.FillPDescripton(PDescription);
             }
              public void setCurrentDateRecive(javax.swing.JTextField DateRecive)
             {
                    db1.FillCurrentDateField(DateRecive);
                }
              public void addDepartment(javax.swing.JComboBox Department)
              {
                  db1.FillDepartment(Department);
              }
             public void addGroup(javax.swing.JComboBox Group)
             {
                 db1.FillGroup(Group);
             }
              public void addID(javax.swing.JTextField PrOrderNo)
              {
                  db1.FillID(PrOrderNo);
              }
             public void addStockno(javax.swing.JTextPane Stocklistno)
             {
                db1.FiLLStockno(Stocklistno);
             }
        public void addSuppliedQTY(int Qtyv)
        {
            db1.FillQTY(Qtyv);
        }
public void addUCost(int Cost)
{
    db1.FillCost(Cost);
}
}